<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page pageEncoding="UTF-8"%>
<jsp:directive.include
	file="/WEB-INF/view/jsp/admin/includes/taglibs.jsp" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>UCenter &#8211; Administrator Tool</title>
		<jsp:directive.include
			file="/WEB-INF/view/jsp/admin/includes/meta.jsp" />
		<script type="text/javascript" src="${ctx}/js/jquery.js"></script>
		<style type="text/css">
body {
	padding: 0;
	margin: 0;
	font: 14px "Lucida Grande", Verdana, Lucida, Helvetica, Arial, "宋体",
		sans-serif;
	line-height: 1.7em;
}

.page {
	border-right: 1px solid #ccc;
	height: 100%;
	background: #F2F9FD;
	margin-right: 1px;
}

.menu {
	font-weight: bold;
	height: 100%;
	padding: 1em 0;
}

ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: block;
}

.menu h3 {
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: 14px;
}

a {
	text-decoration: none;
	color: #666;
}

a:hover {
	color: #2366A8;
}

.menu li a:hover {
	background-color: #fff !important;
	border-left: 1px solid #ccc !important;
	border-top: 1px solid #ccc !important;
	border-bottom: 1px solid #ccc !important;
}

.selected a{
	color: #2366A8;
	background-color: #fff !important;
	border-left: 1px solid #ccc !important;
	border-top: 1px solid #ccc !important;
	border-bottom: 1px solid #ccc !important;
	position: relative;
	right: -1px;
}

.off h3 a {
	background: url(/uc/images/off.gif) 2px center no-repeat !important;
}

h3 a {
	background: url(/uc/images/on.gif) 2px center no-repeat !important;
}

.off ul {
	display: none;
}

.menu li a {
	padding-left: 1em;
	height: 24px;
	background: url("/uc/admin/images/bg_repno.gif") no-repeat scroll 2px
		-43px;
	outline: none;
}

.menu li {
	padding-left: 1em;
	margin: 3px 0;
}

.menu li a {
	display: block;
	outline: none;
	border-top: 1px solid #F2F9FD;
	border-bottom: 1px solid #F2F9FD;
	border-left: 1px solid #F2F9FD;
}
</style>
		<script type="text/javascript">
		$(document).ready(function(){
			$(".menu li").click(function(evt){
				evt.stopPropagation();
				if($(this).hasClass("submenu"))
					return false;
				$(".selected").removeClass("selected");
				$(this).addClass("selected");
			});
			/**
			$(".menu h3").click(function(){
				var $p = $(this).parent();
				if($p.hasClass("off")){
					$p.removeClass("off");
				}else{
					$p.addClass("off");
				}
			});
			*/
		});
		</script>

	</head>
	<body>
		<div class="page">
			<div class="menu">
				<ul>
					<li class="selected">
						<a hideFocus="hideFocus" href="${ctx}/admin/index!workbench.do" target="main">首页</a>
					</li>
					<li>
						<a hideFocus="hideFocus" href="${ctx}/admin/setting.do" target="main">基本设置</a>
					</li>
					<li>
						<a hideFocus="hideFocus" href="${ctx}/admin/application.do" target="main">应用管理</a>
					</li>
					<li class="submenu">
						<h3>
							<a hideFocus="hideFocus" href="#">用户管理</a>
						</h3>
						<ul>
							<li>
								<a hideFocus="hideFocus" href="${ctx}/admin/user.do" target="main">用户管理</a>
							</li>
							<li>
								<a hideFocus="hideFocus" href="${ctx}/admin/huoshowId.do" target="main">火秀号管理</a>
							</li>
						</ul>
					</li>
					<li class="submenu">
						<h3>
							<a hideFocus="hideFocus" href="#">积分管理</a>
						</h3>
						<ul>
							<li>
								<a hideFocus="hideFocus" href="${ctx}/admin/credit!list.do" target="main">用户积分</a>
							</li>
							<li>
								<a hideFocus="hideFocus" href="${ctx}/admin/creditType!list.do" target="main">积分类型管理</a>
							</li>
							<li>
								<a hideFocus="hideFocus" href="${ctx}/admin/creditRule!list.do" target="main">积分规则</a>
							</li>
							<li>
								<a hideFocus="hideFocus" href="${ctx}/admin/creditLog!list.do" target="main">积分日志</a>
							</li>
						</ul>
					</li>
					<li class="submenu">
						<h3>
							<a hideFocus="hideFocus" href="#">帐户管理</a>
						</h3>
						<ul>
							<li>
								<a hideFocus="hideFocus" href="${ctx}/admin/huoshowAccount.do" target="main">帐户管理</a>
							</li>
							<li>
								<a hideFocus="hideFocus" href="${ctx}/admin/huoshowAccountLog.do" target="main">账户日志</a>
							</li>
						</ul>
					</li>
				</ul>
			</div>
		</div>
	</body>
</html>
